//
//  SBBaseButton.h
//  SBAdaptiveTool
//
//  Created by user on 2018/9/10.
//  Copyright © 2018年 陈振旭. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, SBButtonStyle) {
    SBBaseButtonNone = 0,//无修改
    SBBaseButtonTitleTop = 1,//文字在上图片在下
    SBBaseButtonTitleLeft = 2,//文字在左图片在右
    SBBaseButtonTitleRight = 3,//文字在右图片在左
    SBBaseButtonTitleBottom = 4//文字在下图片在上
};

IB_DESIGNABLE

@interface SBBaseButton : UIButton

/**
 图片和文字分布样式
 */
@property (nonatomic, assign) IBInspectable NSInteger buttonStyle;

@property (nonatomic) IBInspectable CGFloat SBCornerRadius;
@property (nonatomic) IBInspectable CGFloat SBBorderWidth;
@property (nonatomic) IBInspectable BOOL SBMasksToBounds;
@property (nonatomic,copy) IBInspectable UIColor *SBBorderColor;

@end
